package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntityPlus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

/**
 * 服务人员对象 web_server_user
 * 
 * @author wsliupan@126.com
 * @date 2021-06-23
 */
@ApiModel("服务人员对象")
public class WebServerUser extends BaseEntityPlus
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 所属门店 */
    @Excel(name = "所属门店")
    @ApiModelProperty(value = "所属门店" , hidden = true )
    private Long deptId;

    /** 真实姓名 */
    @Excel(name = "真实姓名")
    @ApiModelProperty(value = "真实姓名" , hidden = true )
    private String realname;

    @TableField(exist = false)
    private String deptName;

    /** 性别 */
    @Excel(name = "性别")
    @ApiModelProperty(value = "性别" , hidden = true )
    private String sex;

    /** 手机号 */
    @Excel(name = "手机号")
    @ApiModelProperty(value = "手机号" , hidden = true )
    private String mobile;

    /** 用户类型 */
    @Excel(name = "用户类型")
    @ApiModelProperty(value = "用户类型" , hidden = true )
    private String userType;

    /** 0正常 1停用 */
    @Excel(name = "0正常 1停用")
    @ApiModelProperty(value = "0正常 1停用" )
    @NotNull(message = "0正常 1停用 不能为空")
    private Long status;

    @Excel(name = "不上班星期")
    private String noWorks;

    @Excel(name = "上班时间段")
    @ApiModelProperty(value = "上班时间段" )
    private String times;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setRealname(String realname) 
    {
        this.realname = realname;
    }

    public String getRealname() 
    {
        return realname;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getMobile()
    {
        return mobile;
    }
    public void setUserType(String userType) 
    {
        this.userType = userType;
    }

    public String getUserType() 
    {
        return userType;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public String getTimes() {
        return times;
    }

    public void setTimes(String times) {
        this.times = times;
    }

    public String getNoWorks() {
        return noWorks;
    }

    public void setNoWorks(String noWorks) {
        this.noWorks = noWorks;
    }
}
